home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / jetski.swf / scripts / DefineSprite_381 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  607 b   |  30 lines

  1. this.onRollOver = function()
  2. {
  3.    var _loc1_ = this;
  4.    _loc1_.onEnterFrame = function()
  5.    {
  6.       var _loc1_ = this;
  7.       _loc1_.nextFrame();
  8.       if(_loc1_._currentframe == _loc1_._totalframes)
  9.       {
  10.          _loc1_.stop();
  11.          _loc1_.onEnterFrame = null;
  12.       }
  13.    };
  14. };
  15. this.onRollOut = function()
  16. {
  17.    var _loc1_ = this;
  18.    _loc1_.onEnterFrame = function()
  19.    {
  20.       var _loc1_ = this;
  21.       _loc1_.prevFrame();
  22.       if(_loc1_._currentframe == 11)
  23.       {
  24.          _loc1_.stop();
  25.          _loc1_.onEnterFrame = null;
  26.       }
  27.    };
  28. };
  29. this.gotoAndStop("offL");
  30.